home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM You *MUST* rename CHKDSK.EXE to XCHKDSKX.EXE and put this
- REM batch file on your PATH before you use it.
- IF EXIST INWINDOW.$$$ DEL INWINDOW.$$$
- QBASIC /RUN INWIN.BAS
- IF EXIST INWINDOW.$$$ GOTO YesWindow
- ECHO You're not in Windows, so CHKDSK is fine.
- XCHKDSKX
- GOTO End
- :YesWindow
- DEL INWINDOW.$$$
- ECHO Sorry, it's not safe to run CHKDSK.EXE under Windows.
- ECHO Exit Windows and try it again.
- :End